package com.xbongbong.pro.fineclue.pojo.dto;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.pro.user.pojo.ReturnUserAndDepartmentPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @Author mingliang
 * @Description 精线索数据推送
 * @Date 2021/11/8 19:28
 **/
@Getter
@Setter
@ToString
public class FineClueCustomerDataDTO implements Serializable {

    private static final long serialVersionUID = -6513125720149824435L;

    /**
     * 跳过重复提交校验，主要用于接口自动化测试
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Boolean ignoreConCheck;
    /**
     * clueUserId
     */
    private String phone;
    /**
     * 操作时间
     */
    private Long operateTime;
    /**
     * 流水号
     */
    private String serialNumber;
    /**
     * redis的key
     */
    @NotBlank(message = "tag不能为空")
    private String tag;
    /**
     * 三方回传数据
     */
    @Size(min = 1, message = "data不能为空")
    private JSONArray data;
    
}
